package com.danci.mapper;

import com.danci.dto.MyDataDto;
import com.danci.dto.UserDto;
import com.danci.entity.Userinfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author xxx
 * @since 2024-05-13
 */
public interface UserinfoMapper extends BaseMapper<Userinfo> {

    void updatePlanDay(@Param("planDay") Integer planDay,
                          @Param("userId") String userId);

    void updateLid(@Param("lid") String lid, @Param("userId") String userId);

    MyDataDto getMyData(@Param("userId") String userId);
    void updateUserInfo(@Param("userDto") UserDto userDto);
}
